package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-04-26 13:24:53
 */
@Data
@TableName("im_friend")
public class ImFriendEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer id;
	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 * 好友id
	 */
	private Integer friendId;
	/**
	 * 备注
	 */
	private String nickname;
	/**
	 * 看我
	 */
	private Integer lookme;
	/**
	 * 看他
	 */
	private Integer lookhim;
	/**
	 * 是否为星标朋友：0否1是
	 */
	private Integer star;
	/**
	 * 是否加入黑名单：0否1是
	 */
	private Integer isblack;
	/**
	 *
	 */
	private Date createdAt;
	/**
	 *
	 */
	private Date updatedAt;
	@TableField(exist = false)
	private String name;
	@TableField(exist = false)
	private String avatar;
	@TableField(exist = false)
	private String username;
	@TableField(exist = false)
	private String zm;//首字母
	@TableField(exist = false)
	private String usernickname;
}
